using System;

namespace Communication
{
    /// <summary>
    /// Provides data for the GsmPhone.ReceiveProgress and GsmPhone.ReceiveComplete events.
    /// </summary>
    public class ProgressEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the event args.
        /// </summary>
        /// <param name="progress">The current progress value.</param>
        public ProgressEventArgs(int progress)
        {
            Progress = progress;
        }

        /// <summary>
        /// Get the current progress value.
        /// </summary>
        public int Progress { get; private set; }
    }
}